package com.czy.seed.mvc.home.entity;

import java.math.BigDecimal;

/**
 * @Author: liuyun
 * 数据统计实体对象
 * Created by liuyun  10:45 2018/2/1.
 */
public class StatisticsDataVo {

    /*
    单价
    */
    private BigDecimal  univalence;
//    数量
     private String num;
//总价
     private BigDecimal  total;
//商品类型
     private String GoodsType;
//修改时间
     private String updateTime;
//市场价格
     private BigDecimal MAK_PRC;

 public BigDecimal getUnivalence() {
  return univalence;
 }

 public void setUnivalence(BigDecimal univalence) {
  this.univalence = univalence;
 }

 public String getNum() {
  return num;
 }

 public void setNum(String num) {
  this.num = num;
 }

 public BigDecimal getTotal() {
  return total;
 }

 public void setTotal(BigDecimal total) {
  this.total = total;
 }

 public String getGoodsType() {
  return GoodsType;
 }

 public void setGoodsType(String goodsType) {
  GoodsType = goodsType;
 }

 public String getUpdateTime() {
  return updateTime;
 }

 public void setUpdateTime(String updateTime) {
  this.updateTime = updateTime;
 }

 public BigDecimal getMAK_PRC() {
  if(MAK_PRC == null){
   MAK_PRC = univalence;
  }
  return MAK_PRC;
 }

 public void setMAK_PRC(BigDecimal MAK_PRC) {
  if(MAK_PRC == null){
   MAK_PRC = new BigDecimal(0);
  }
  this.MAK_PRC = MAK_PRC;
 }
}
